package com.bw.service;

import com.bw.bean.ST;
import com.bw.dao.UserDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ServiceDaoImpl implements ServiceDao {
    @Resource
    UserDao userDao;
    @Override
    public List<ST> show() {
        return userDao.show();
    }

    @Override
    public int sc(int id)
    {
        return userDao.sc(id);
    }
}
